package com.net.xpay.common.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 2019/4/1 14:48

 */
@Getter
@Setter
@NoArgsConstructor
public class AggUserDailyStatModel {
    /**
     * 基础信息
     */

    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "合伙人id")
    private Long partnerId;


    /**
     * 统计数据(总)
     */

    @ApiModelProperty(notes = "总转账笔数")
    private Long totalCount;

    @ApiModelProperty(notes = "总转账成功笔数")
    private Long totalSuccessCount;

    @ApiModelProperty(notes = "总转账失败笔数")
    private Long totalFailCount;

    @ApiModelProperty(notes = "总转账金额 单位元 保留2小数")
    private BigDecimal totalTransAmount;

    @ApiModelProperty(notes = "总转账成功金额 单位元 保留2小数")
    private BigDecimal totalSuccessTransAmount;

    @ApiModelProperty(notes = "总转账失败金额 单位元 保留2小数")
    private BigDecimal totalFailTransAmount;

    @ApiModelProperty(notes = "单笔超过10000元 总转账成功笔数")
    private Long totalSuccessLargeCount;


    @ApiModelProperty(notes = "昨日转账金额 单位元 保留2小数")
    private BigDecimal yestAmount;

    @ApiModelProperty(notes = "前日转账金额 单位元 保留2小数")
    private BigDecimal beforeYestAmount;

    @ApiModelProperty(notes = "增量 单位元 保留2小数")
    private BigDecimal increase;

}
